package cn.pupil.design.event.listener;

import cn.pupil.design.LotteryResult;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @Description: 消息监听事件
 * @Author: pupil
 * @Date: 2024/07/30 下午 6:49
 */
public class MessageEventListener implements EventListener{

    private Logger logger = LoggerFactory.getLogger(MessageEventListener.class);
    @Override
    public void doEvent(LotteryResult result) {
        logger.info("给⽤用户 {} 发送短信通知(短信)：{}", result.getuId(), result.getMsg());
    }
}
